const { default: styled } = require("styled-components");

const AnkingWarrper = styled.div`
.top{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .top-item{
        display: flex;
        align-items: center;
        width: 49%;
        margin-bottom: 2%;
        height: 200px;
        background-color: rgb(238,238,238);
        border-radius: 20px 10px 10px 20px;
        position: relative;
        transition: all 0.3s;
        cursor: pointer;
        &:hover{
            transform: translateY(-15px);
        }
        img{
            width:200px;
            height: 200px;
            border-radius: 20px;
        }
        .title{
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 200px;
            padding-left:20px;
            color: rgb(134,134,134);
            overflow: hidden;
            padding-right: 20px;
            h3{
                font-size: 25px;
                font-weight: 600;
            }
            ol{
                overflow: hidden;
            }
            ol li{
                box-sizing: border-box;
                display: flex;
                width: 100%;
                line-height:2.2;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
    }
}
h3{
    font-size: 30px;
    margin-bottom: 10px;
}
.secound{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    li{
        margin-bottom: 20px;
        margin-right: 15px;
    }
}
`

export default AnkingWarrper